<?php
include_once("pconfig.php");
header("Content-type: text/html; charset=utf-8"); 
$filename="oldtorrent/".$_GET['file'];
//"oldtorrent/fc4269d16ea8b5664721e9964beb3a475b79f3be.torrent";
$str=file_get_contents($filename);
$torrent=parse_bt($str);
foreach($torrent as $value )
{
	echo "<br>".$value;
}
?>
